CMAKE_MINIMUM_REQUIRED( VERSION 2.8 )

PROJECT(usm CXX)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O2 -pthread -fopenmp")

OPTION( BUILD_usm
"Build the livewire."
ON)


IF(BUILD_usm)

INCLUDE_DIRECTORIES(../common/

    )



FILE(GLOB_RECURSE APPLICATION_TEST_SRC ./*.* ../common/*.*)

ADD_EXECUTABLE(usm ${APPLICATION_TEST_SRC})

configure_file(${ihefe_cpp_ios_SOURCE_DIR}PlatformSpecifics/Windows/VisualStudioUserFile.vcxproj.user.in
               ${CMAKE_CURRENT_BINARY_DIR}/usm.vcxproj.user
               @ONLY
              )

SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../../bin)


ENDIF(BUILD_usm)




